/*
 * Copyright (c) 2017 Solidwang. All Rights Reserved
 */
package com.solid4j.auth.service;
import com.solid4j.auth.model.Privilege;
import com.solid4j.auth.page.Page;

import java.util.List;

/**
 * @author: solidwang
 * @date: 2017/5/4
 * 权限接口
 */
public interface PrivilegeService {

    Integer save(Privilege privilege);

    Privilege get(Integer id);

    Page<Privilege> getPrivilegeList(String condition, Integer currentPage, Integer pageSize, String orderBy);

    List<Privilege> getPrivileges();

    void update(Privilege privilege);

    void delete(Privilege privilege);

}
